<q>一、npm 安装</q>
<u>npm install --save</u> <b>'d3'</b>
<q>二、引入使用</q>
<em># 引入全部</em>
<u>import * as <s>d3</s> from</u> <b>'d3'</b>
<em># 引入模块</em>
<u>import * as <s>d3</s> from</u> <b>'d3-array'</b>
<u>import * as <s>d3</s> from</u> <b>'d3-collection'</b>
<em>...</em>